package heima3_2.cn.osc.ui.adapter;


import android.content.Context;
import android.view.ViewGroup;

import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;
import heima3_2.cn.osc.hold.DynamicHold;
import heima3_2.cn.osc.model.bean.DynamicFragmentBean.Tweet;

/**
 * Created by 超能浣熊 on 2017/1/15.
 */

public class DynamicAdapter extends MyBaseAdapter<Tweet> {



    public DynamicAdapter(Context context, List<Tweet> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<Tweet> createViewHolder(Context context, ViewGroup parent, Tweet bean, int position) {
        return new DynamicHold(context,parent,this,position,bean);
    }
}
